﻿<include file="Common/header" />
<title>站点列表</title>
</head>

<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 站点管理 <span class="c-gray en">&gt;</span> 站点列表 <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="pd-20">
  <div class="text-c">
    <form class="Huiform" method="get" action="">
      <input type="text" class="input-text" style="width:250px" name="keywords" placeholder="站点名称/公司"  value="{$keywords}">
      <button type="submit" class="btn btn-success" ><i class="Hui-iconfont">&#xe665;</i> 搜索站点</button>
    </form>
  </div>
  <div class="cl pd-5 bg-1 bk-gray mt-20"> <span class="l"> <a _href="{:U('add')}" href="javascript:;" onClick="Hui_admin_tab(this);"  data-title="添加站点"   class="btn btn-primary radius"> <i class="Hui-iconfont">&#xe600;</i> 添加站点</a></span> <span class="r">共有:<strong>{$count}</strong> 站点</span> </div>
  <table class="table table-border table-bordered table-bg">
    <thead>
      <tr>
        <th scope="col" colspan="7">站点列表</th>
      </tr>
      <tr class="text-c">
        <th width="40">ID</th>
        <th width="250">站点名称</th>
        <th width="250">公司名称</th>
        <th width="150">到期时间</th>
        <th>备注</th>
        <th width="150">域名管理</th>
        <th width="100">操作</th>
      </tr>
    </thead>
    <tbody>
      <volist name="lists" id="vo">
        <tr class="text-c">
          <td>{$vo.site_id}</td>
          <td>{$vo.site_name}</td>
          <td>{$vo.site_company}</td>
          <td>{$vo.endtime|date="Y-m-d",###}</td>
          <td>{$vo.remark}</td>
          <td><a _href="{:U('domain',array('sid'=>$vo['site_id']))}" href="javascript:;" onclick="Hui_admin_tab(this);" data-title="域名管理" class="btn btn-success radius"> <i class="Hui-iconfont">&#xe600;</i> 域名列表</a></td>
          <td><a title="编辑" _href='{:U('edit',array('id'=>$vo['site_id']))}'  data-title="编辑站点"   href="javascript:;" onClick="Hui_admin_tab(this);" class="ml-5" style="text-decoration:none"> <i class="Hui-iconfont">&#xe6df;</i></a> <a title="删除" href="javascript:;" _href="{:U('del',array('id'=>$vo['site_id']))}" msg="确定要删除站点?"  class="ml-5 getajax_ldh del" style="text-decoration:none"> <i class="Hui-iconfont">&#xe6e2;</i></a></td>
        </tr>
      </volist>
    </tbody>
  </table>
  <div class="pages"> {$Page} </div>
</div>
 </body>
</html>